import request from "../utlis/request";
export const getIcon = () => 
  request('/menu/getIcon','get')
export const insetParentMenu = (data) => 
  request('/menu/insetParentMenu','post',data)
export const getUserMenuList = (id) => 
  request('/menu/getUserMenuList','get',{id})
export const getMenuList = () => 
  request('/menu/getMenuList','get')
export const insetChildrenMenu = (data) => 
  request('/menu/insetChildrenMenu','post',data)
export const updateMenu = (data) => 
  request('/menu/updateMenu','post',data)
export const DeleteMenu = (id) => 
  request('/menu/DeleteMenu','get',{id})
export const userMenu = (data) => 
  request('/menu/userMenu','post',data)
export const  queryUserMenuNumber= (userId) => 
  request('/menu/queryUserMenu','get',{userId})
